pp108 : Adding a Parameter to a Method

Adding a Parameter to a Method

This topic describes the procedure to add a parameter to a method in WS-AppServer.

Each WS-AppServer method has parameters that are created by default. However, you can add more parameters based on the data model that you want to create.

  1. Double-click the <WS-AppServer Package> from either of the following locations:
    • Workspace Documents (My Recent Documents) window.
    • Workspace Documents (Explorer) > <solution> > <project> . The WS-AppServer Package window appears, displaying the data models and their corresponding attributes, methods, and relations.
  2. In the Models group box, click a model. The Attributes, Methods, and Relations tabs are updated with the details of the model.
  3. Click the Methods tab. The Method group box and Method Properties group box appear.
  4. In the Method group box, click a <method>. The corresponding properties appear in Method Properties group box.
  5. In the Method Properties group box, under Parameters, click . The Parameter Properties dialog box appears.
  6. Provide the required details in the dialog box and click OK.

    A parameter is added to the selected method and is displayed under Parameters in the Method Properties group box.

Related tasks

Adding an Attribute to a WS-AppServer Model
Adding Custom Methods to a WS-AppServer Model
Adding Standard Methods to a WS-AppServer Model

Related reference

Method Properties Interface